home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 November / Chip Kasım 2003.iso / prog / openoff / f_0244 / common.jar / text / common / guide / formfields.xml < prev    next >
Encoding:
Extensible Markup Language  |  2002-01-24  |  6.9 KB  |  98 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Inserting and Editing Buttons</title><meta name="filename" content="text/common/guide/formfields"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle1{
  5.                 }
  6.         span.Tabelle1A{
  7.                 width:18cm;}
  8.         td.Tabelle1A1{
  9.                 }
  10.         table.Tabelle2{
  11.                 }
  12.         span.Tabelle2A{
  13.                 width:18cm;}
  14.         td.Tabelle2A1{
  15.                 }
  16.         table.Tabelle3{
  17.                 }
  18.         span.Tabelle3A{
  19.                 width:18cm;}
  20.         td.Tabelle3A1{
  21.                 }
  22.         p.P1{
  23.                 }
  24.         p.P2{
  25.                 }
  26.         p.P3{
  27.                 }
  28.         p.P4{
  29.                 }
  30.         p.P5{
  31.                 }
  32.         span.T1{
  33.                 font-weight:bold;}
  34.         span.fr1{
  35.                 }
  36.         span.fr2{
  37.                 }
  38.         </style></head><body>
  39.    
  40.    
  41.    <p class="P1"/>
  42.    <p class="Head1"><help:key-word value="buttons; examples" tag="kw68136_1" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="controls; examples" tag="kw68136_2" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="formfields" xmlns:help="http://openoffice.org/2000/help"><help:link Id="68136">Inserting and Editing Buttons</help:link></help:to-be-embedded></p>
  43.    <ol class="L1">
  44.     <li class="">
  45.      <p class="P2">Open the <span class="T1">Form Functions</span> floating toolbar.</p>
  46.     </li>
  47.     <li class="">
  48.      <p class="P2">Click the <span class="T1">Push Button</span> icon from the <span class="T1">Form Functions</span> floating toolbar. The pointer will change to a cross-hair symbol.</p>
  49.     </li>
  50.     <li class="">
  51.      <p class="P2">In the document, drag open a box representing the size and position of the command button you want to insert.</p>
  52.      <p class="P2">The new button is selected.</p>
  53.     </li>
  54.     <li class="">
  55.      <p class="P2">To select a button, click on the edge, where the mouse pointer appears with a cross with four arrows, or keep the <help:switch select="System" xmlns:help="http://openoffice.org/2000/help"><help:case select="MAC">(Option)</help:case><help:default>(Alt)</help:default></help:switch> key pressed.</p>
  56.     </li>
  57.    </ol>
  58.    <p class="Paragraph">You can move and scale a selected button like a graphic. You can open dialogs for editing properties via the button's context menu.</p>
  59.    <ul class="L2">
  60.     <li class="">
  61.      <p class="P3">Select the <span class="T1">Control</span> command from the context menu of the selected button for accessing the <span class="T1">Properties: Button</span> dialog. You can also call this dialog by clicking the<span class="T1"> Control Properties</span> icon contained in the <span class="T1">Form Functions</span> floating toolbar.</p>
  62.     </li>
  63.    </ul>
  64.    <table><tr class=""><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  65.        <p class="TextInTable"><draw:image draw:style-name="fr1" draw:name="Grafik1" text:anchor-type="paragraph" svg:width="8.149cm" svg:height="9.922cm" draw:z-index="0" xlink:href="66966" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  66.       </span></th></tr></table>
  67.    <p class="Paragraph"/>
  68.    <ul class="L3">
  69.     <li class="">
  70.      <p class="P4">You can change the text on the button in this dialog under <span class="T1">General -Title</span>.</p>
  71.     </li>
  72.     <li class="">
  73.      <p class="P4">Use the <span class="T1">Events</span> tab if you would like to run a macro when the button has been clicked. Click the suspensive points button at the right to access a selection dialog for macros.</p>
  74.     </li>
  75.    </ul>
  76.    <table><tr class=""><th class="Tabelle2A1" style="text-align:left;"><span class="Tabelle2A">
  77.        <p class="TextInTable"><draw:image draw:style-name="fr1" draw:name="Grafik2" text:anchor-type="paragraph" svg:width="12.801cm" svg:height="7.288cm" draw:z-index="1" xlink:href="66965" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  78.       </span></th></tr></table>
  79.    <p class="Paragraph"/>
  80.    <ul class="L4">
  81.     <li class="">
  82.      <p class="P5">The <span class="T1">Events</span> tab contains all possible events to which a control can react. Select a macro which has to run when the button is clicked and then confirm your selection by clicking the<span class="T1"> Assign</span> button. You can use custom macros for this function.</p>
  83.     </li>
  84.     <li class="">
  85.      <p class="P5">End the design mode using the icon on the <span class="T1">Form Functions</span> floating toolbar. If you now click on your button in the document (not on the edge), the assigned macro will run.</p>
  86.     </li>
  87.    </ul>
  88.    <table><tr class=""><th class="Tabelle3A1" style="text-align:left;"><span class="Tabelle3A">
  89.        <p class="TextInTable"><draw:image draw:style-name="fr2" draw:name="Grafik3" text:anchor-type="paragraph" svg:width="8.096cm" svg:height="9.843cm" draw:z-index="2" xlink:href="66967" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  90.       </span></th></tr></table>
  91.    <p class="Paragraph"/>
  92.    <p class="Paragraph">In addition to the properties of the selected controls, you also can control the properties of the form to which the control belongs. Click the <span class="T1">Form Function</span> floating toolbar on the <span class="T1">Form properties</span> icon.</p>
  93.    <p class="Paragraph">Among other things, the form defines the database and table the form controls link to.</p>
  94.    <p class="Paragraph">You can link events with macros in forms with the <span class="T1">Events</span> tab. Doing this lets you run a specific macro when a form is loaded, for example.</p>
  95.    <p class="Paragraph">The other icons on the <span class="T1">Form Functions</span> floating toolbar serve to define interactive documents. In <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Basic you can also define your own dialogs - for this purpose, there are other controls for dialogs available to you in the <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Basic IDE.</p>
  96.    <p class="ParaList"><help:embedded Id="65598" Eid="related" xmlns:help="http://openoffice.org/2000/help"/></p>
  97.    <p class="ParaList"><help:embedded Id="68409" Eid="data_addressbook" xmlns:help="http://openoffice.org/2000/help"/></p>
  98.   </body></html>